﻿//-----------------------------------------------------------------------
// <copyright file="AutoMapperProxy.cs" company="OverrideThis">
//     Copyright (c) 2010 OverrideThis.com
// </copyright>
//-----------------------------------------------------------------------
namespace OverrideThis.Core.Infrastucture.Mapper.Impl
{
    public class AutoMapperProxy : IMapper
    {
        public TTo Map<TFrom, TTo>(TFrom value)
        {
            return (TTo)AutoMapper.Mapper.Map(value, typeof(TFrom), typeof(TTo));
        }
    }
}
